package com.aiinterview.subjectservice;

import com.aiinterview.subjectservice.file.MinIOConfigProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * 刷题模块微服务 启动类
 */
@SpringBootApplication
@ComponentScan("com.aiinterview")
@MapperScan("com.aiinterview.**.mapper")//扫描mapper接口
@EnableConfigurationProperties(MinIOConfigProperties.class)
public class AiInterviewSubjectServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(AiInterviewSubjectServiceApplication.class, args);
    }
}
